home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 1999 #5 / 1999 CD 5 (black).iso / Delphi3 / README.TXT < prev    next >
Encoding:
Text File  |  1997-08-04  |  20.0 KB  |  543 lines

  1. Welcome to the Delphi 3 Standard Edition
  2.  
  3.     Contents:
  4.  
  5.     WHERE TO FIND INFORMATION
  6.     CONTACTING BORLAND
  7.     CD-ROM DIRECTORY OVERVIEW
  8.     DEMO APPLICATIONS
  9.     INTRABUILDER TRIAL
  10.     C++BUILDER TRIAL
  11.     DOCUMENTATION UPDATES
  12.     KNOWN PROBLEMS
  13.  
  14.  
  15. WHERE TO FIND INFORMATION
  16.  
  17. This file contains last-minute information about Delphi 3.
  18.  
  19.     *********************************************************
  20.  
  21.      Before distributing applications developed with Delphi,
  22.      please read the guidelines in DEPLOY.TXT (on the Delphi
  23.      CD or in the Delphi 3 directory).
  24.  
  25.     *********************************************************
  26.  
  27. For installation instructions and minimum system requirements,
  28. see INSTALL.TXT (on the Delphi CD or in the Delphi 3 directory).
  29.  
  30. For an overview of Delphi and a list of new features, select
  31. Help|What's New from the Delphi main menu.
  32.  
  33. For information about migrating from previous releases of Delphi,
  34. including maintenance of legacy applications and installation of
  35. third-party components, see the Compatibility With Version 2
  36. topic in the online Help.
  37.  
  38. For detailed documentation, see the online Help and printed
  39. manuals that accompany this release. Additional documents are
  40. on the Delphi CD in the INFO\BORLAND directory. Check Borland's
  41. Web site at http://www.borland.com/ for documentation updates
  42. and other information.
  43.  
  44. NOTE: All printed and online documentation assume that you
  45. have installed Delphi using the default directory structure.
  46.  
  47.  
  48. Online Resources
  49. ----------------
  50. You can get information from any of these online sources:
  51.  
  52. World Wide Web:    http://www.borland.com/
  53.  
  54. FTP:               ftp.borland.com
  55.                    Technical documents available by anonymous ftp.
  56.  
  57. Listserv:          To subscribe to electronic newsletters, use
  58.                    the online form at
  59.                     http://www.borland.com/feedback/listserv.html
  60.                    or, for Borland's international listserver,
  61.                     http://www.borland.com/feedback/intlist.html.
  62.  
  63. TECHFAX            1-800-822-4269 (North America)
  64.                    Technical documents available by fax.
  65.  
  66.  
  67.   World Wide Web
  68.   --------------
  69.   Check Borland's Web site regularly. The Delphi Product Team
  70.   will post white papers, competitive analyses, answers to
  71.   frequently asked questions, sample applications, updated
  72.   software, and information about new and existing products.
  73.   You may want to check these URLs in particular:
  74.  
  75.       http://www.borland.com/delphi/
  76.       http://www.borland.com/techsupport/delphi/
  77.       http://www.borland.com/techsupport/delphi/downloads/
  78.         (updated Help, software, and other files)
  79.       http://www.borland.com/delphi/cpp/
  80.         (information for C++ programmers)
  81.       http://www.borland.com/delphi/vb/
  82.         (information for Visual Basic programmers)
  83.       http://www.borland.com/newsgroups/
  84.         (see below)
  85.  
  86.   Newsgroups
  87.   ----------
  88.   Borland Online hosts a variety of newsgroups where users can
  89.   exchange information about Borland development tools and their
  90.   use. For a complete list, see http://www.borland.com/newsgroups/.
  91.  
  92.   In addition to the groups hosted by Borland Online, the
  93.   following Usenet groups are devoted to Delphi and related
  94.   programming issues. (These newsgroups are maintained by
  95.   users and are not official Borland sites.)
  96.  
  97.           news:comp.lang.pascal.delphi.misc
  98.           news:comp.lang.pascal.delphi.components
  99.           news:comp.lang.pascal.delphi.components.misc
  100.           news:comp.lang.pascal.delphi.components.usage
  101.           news:comp.lang.pascal.delphi.components.writing
  102.           news:comp.lang.pascal.delphi.databases
  103.           news:comp.lang.pascal.delphi.advocacy
  104.           news:comp.lang.pascal.delphi.announce
  105.           news:comp.lang.pascal.borland
  106.  
  107.  
  108. CONTACTING BORLAND
  109.  
  110. Installation Assistance and Developer Support
  111. ---------------------------------------------
  112. Borland offers a range of support services for Delphi
  113. and other tools. For information, see our World Wide
  114. Web site at http://www.borland.com/.
  115.  
  116. For assistance outside of North America, contact your
  117. local Borland representative. For a list of offices and
  118. distributors world-wide, see http://www.borland.com/bww/.
  119.  
  120.  
  121. CD-ROM DIRECTORY OVERVIEW
  122.  
  123. The Delphi CD ROM includes the following files and directories.
  124.  
  125.  [root]      Contains files used for installation and
  126.              registration as well as these important documents:
  127.  
  128.     INSTALL.TXT  Installation instructions.
  129.  
  130.     README.TXT   Release notes, last-minute documentation,
  131.                  and a list of known problems.
  132.  
  133.     LICENSE.TXT  The Delphi license agreement.
  134.  
  135.     DEPLOY.TXT   Information about deploying Delphi applications.
  136.  
  137.  \INSTALL    Contains the setup program and related files.
  138.  
  139.  \INFO       Contains subdirectories with information and
  140.              third-party demo products. The \INFO\EXTRAS
  141.              directory contains source code and other files
  142.              for JPEG and FIF graphics formats, and for
  143.              data-compression algorithms; for more information,
  144.              see INFO\EXTRAS\EXTRAS.TXT.
  145.  
  146.  \IE3        Contains Microsoft's Internet Explorer 3.02.
  147.  
  148.  \TRIALS     Contains trial versions of the IntraBuilder Web
  149.              application development tool (in \TRIALS\INTRABLD)
  150.              and of C++Builder, Borland's rapid application
  151.              development tool for C++ programmers
  152.              (in \TRIALS\CBUILDER).
  153.  
  154.  \ISXPRESS   Contains InstallShield Express, a customized
  155.              application deployment tool for Delphi 3, the
  156.              BDE, and related software.
  157.  
  158.  \RUNIMAGE   Contains a complete Delphi installation. All
  159.              files are unpacked and in the default directory
  160.              structure.
  161.  
  162.  \DELPHI16   Contains the last 16-bit release of Delphi
  163.              (version 1.02). Run SETUP.EXE (in the
  164.              \DELPHI16\INSTALL subdirectory) to install.
  165.  
  166.  
  167. DEMO APPLICATIONS
  168.  
  169. Sample programs are installed with Delphi in the
  170. Delphi 3\Demos\... directory. To build these demos,
  171. compile the appropriate .DPR file.
  172.  
  173.   RichEdit (in ...\Richedit) demonstrates the TRichEdit control.
  174.  
  175.   ...\DEMOS\DB contains additional database sample projects.
  176.   Data used by these examples is in ...\DEMOS\DATA.
  177.  
  178.   ...\DEMOS\DOC contains sample projects from the printed
  179.     documentation.
  180.  
  181.   ...\DEMOS\DATA contains data used by sample programs.
  182.  
  183.  
  184. INTRABUILDER TRIAL
  185.  
  186. The Delphi CD includes a free 30-day trial edition of Borland's
  187. IntraBuilder. IntraBuilder is a visual JavaScript toolset that
  188. has everything you need to build and maintain live, data-driven
  189. Web applications and run them on your Web server. To view a
  190. self-running demo, or to install the trial version of
  191. IntraBuilder, run SETUP.EXE in the \TRIALS\INTRABLD directory
  192. of the Delphi CD.
  193.  
  194. For more information about IntraBuilder, see
  195. http://www.borland.com/intrabuilder/.
  196.  
  197.  
  198. C++BUILDER TRIAL
  199.  
  200. The Delphi CD includes a trial edition of C++Builder, Borland's
  201. rapid application development tool for C++ programming. To
  202. install the trial version of C++Builder, run SETUP.EXE in the
  203. \TRIALS\CBUILDER\SETUP directory of the Delphi CD.
  204.  
  205. For more information about C++Builder, see
  206. http://www.borland.com/bcppbuilder/
  207.  
  208.  
  209. DOCUMENTATION UPDATES
  210.  
  211. VCL documentation and online Help
  212. ---------------------------------
  213. The VCL reference material in the online Help is more up to date
  214. than the printed version. The following methods are documented
  215. only online:
  216.  
  217.   TApplication.NormalizeAllTopMosts
  218.   TCustomForm.WantChildKey (overridden in TActiveForm)
  219.   TOleContainer.SaveAsDocument
  220.  
  221. The correct syntax for the TApplication.MessageBox method is
  222. in the online Help. Help entries for the TTable, TImage, and
  223. TBDEDataSet objects, among others, have also been revised.
  224.  
  225. Due to limitations in the WinHelp compiler, Windows API Help
  226. topics do not appear in the Delphi Help index. However, these
  227. topics are available from the Delphi IDE's context-sensitive
  228. Help system; if you select a Windows API function in the Code
  229. editor and press F1, the appropriate Windows Help topic will
  230. appear. To see an index of Windows API Help topics, access
  231. the Windows API Help directly. The easiest way to do this is
  232. to add a button to the speedbar: Right-click on the speedbar
  233. and select Properties to open the Speedbar editor; select
  234. Help from the Categories list and drag the Windows API Help
  235. icon from the Commands list to your speedbar; then close the
  236. Speedbar editor.
  237.  
  238. Components on the Win 3.1 palette page are not linked to the
  239. context-sensitive online Help system. For documentation on
  240. these legacy components, refer to the DELPHI.HLP file located
  241. in \Delphi16\Runimage\Delphi\Bin on your Delphi CD.
  242.  
  243. Two components on the ActiveX palette page are not linked to
  244. the context-sensitive online Help system. For documentation
  245. on the VtChart control, see Delphi 3\OCX\Vci\Impress\Vcfi.hlp.
  246. For documentation on the Graph Custom Control, see
  247. Delphi 3\OCX\Pinnacle\Graph.hlp.
  248.  
  249. Some database example programs contain hard-coded directory
  250. paths. To make these examples compile, you may need to change
  251. the directory paths.
  252.  
  253. Asian calendar eras
  254. -------------------
  255. RTL functions provide increased support for Asian calendar eras.
  256. Conversion functions like StrToDate and DateToStr now preserve
  257. information about eras.
  258.  
  259. TRegistry
  260. ---------
  261. Under Windows NT, TRegistry can now open and read from the
  262. registry even if the user does not have administrative rights.
  263.  
  264. COMCTL32
  265. --------
  266. Several of the components on the Win32 palette page function
  267. best with the latest version (4.70) of COMCTL32.DLL. TCoolBar
  268. and TDateTimePicker will not work at all unless version 4.70
  269. or later is installed. In addition, the following properties
  270. require version 4.70:
  271.  
  272. TToolBar.DisabledImages
  273. TToolBar.Flat
  274. TToolBar.HotImages
  275. TToolBar.Images
  276.  
  277. TTabControl.HotTrack
  278. TTabControl.ScrollOpposite 
  279. TTabControl.TabPosition
  280.  
  281. TPageControl.HotTrack
  282. TPageControl.ScrollOpposite 
  283. TPageControl.TabPosition
  284.  
  285. TListView.Checkboxes
  286. TListView.HotTrack
  287. TListView.GridLines
  288. TListView.RowSelect
  289. TListItem.Checked
  290.  
  291. The Min, Max, and Position properties of TProgressBar must
  292. fall within the range of 0 - 65535 if the installed version
  293. of COMCTL32.DLL is less than 4.70.
  294.  
  295. Win32 shell extensions
  296. ----------------------
  297. Win32 shell extensions require that the threading model for the
  298. extension object be set to "Apartment" in the system registry.
  299. Since TComObjectFactory.UpdateRegistry doesn't make this entry
  300. automatically, you can do it manually by inserting the Value Name
  301. "ThreadingModel" with the Value "Apartment" under the CLSID key
  302. for your control in the registry. You can also override
  303. TComObjectFactory.UpdateRegistry to do this work for you; the
  304. following example code is for a Copy Hook shell extension:
  305.  
  306.  procedure TCopyHookFactory.UpdateRegistry(Register: Boolean);
  307.  var
  308.    ClsID: string;
  309.  begin
  310.    ClsID := GUIDToString(ClassID);
  311.    inherited UpdateRegistry(Register);
  312.    if Register then
  313.    begin
  314.      CreateRegKey('CLSID\' + ClsID, 'ThreadingModel', 'Apartment');
  315.      CreateRegKey('directory\shellex\CopyHookHandlers\' + ClassName,
  316.         '', ClsID);
  317.    end
  318.    else
  319.      DeleteRegKey('directory\shellex\CopyHookHandlers\' + ClassName);
  320.  end;
  321.  
  322. Using OpenGL
  323. ------------
  324. Applications or libraries that use the OpenGL graphics libraries
  325. must ensure that the 8087 control word is set to mask Overflow,
  326. Zero Divide, and Invalid Operation exceptions. This is done
  327. automatically in the OPENGL unit, but if your application does
  328. not use the OPENGL unit (for example, if you are using an ActiveX
  329. control that employs OpenGL), you can do this by including the
  330. following line in the initialization code of a unit:
  331.  
  332.   Set8087CW($133F);
  333.  
  334. Borland Database Engine
  335. -----------------------
  336. A Driver Development Kit is available for the BDE.
  337. Contact Developer Relations at Borland for details.
  338.  
  339. SNoTableName and other constants have been moved to the
  340. BDEConst unit.
  341.  
  342. IDAPI functions such as DbiQExecProcDirect and DbiOpenSPParamList
  343. now support Access named queries, which the BDE treats as stored
  344. procedures.
  345.  
  346. You can now set the Access SystemDB (workgroup information file)
  347. on a per-database basis using the BDE Administrator.
  348.  
  349. The Access driver now supports referential integrity.
  350.  
  351. To switch a cursor's Access locking protocol between pessimistic
  352. and optimistic, toggle the Boolean curPESSIMISTICLOCKS property
  353. with DbiSetProp.
  354.  
  355. Using JPEG Images
  356. -----------------
  357. To use JPEG images at design time, choose Component | Install
  358. Component, create a new package, select JPEG as the Unit File
  359. Name, and install the package. To use JPEGs in an application
  360. at runtime, include the JPEG unit in your unit's "uses" clause.
  361.  
  362. VCL Help Files
  363. --------------
  364. The VCL Help file (VCL3.HLP) uses another file called
  365. VCL3JUMP.HLP to provide context-sensitive jump support.
  366. Do not delete this file. If you accidentally delete it,
  367. you'll have to restore it from the Delphi CD.
  368.  
  369. Overriding Resource-Module Localization
  370. ---------------------------------------
  371. At start-up, applications typically check the locale of
  372. the system and look for a resource module that matches
  373. the language and country. If you want your application
  374. to use a different resource module from the one indicated,
  375. you can set an override in the registry: Under the
  376. HKEY_Current_User\Software\Borland\Delphi\Locales key, add
  377. your application's path and filename as a string value and
  378. set the data value to the extension of your resource modules;
  379. at startup, your application will look for resource modules
  380. with this extension before using the system locale. For more
  381. information, see "Using Resource Modules" under the
  382. "Localizing Resources" Help topic.
  383.  
  384.  
  385. KNOWN PROBLEMS
  386.  
  387. Installation and Un-installation
  388. --------------------------------
  389. Existing IDAPI32.CFG alias information is not changed by the
  390. Delphi 3 installation. Therefore it may be necessary to change
  391. the path in the DefaultDD alias to the Delphi 3 data dictionary.
  392.  
  393. Un-installing Delphi 2 or the C++Builder trial version can
  394. remove some Delphi 3 settings and delete components from the
  395. palette. We recommend reinstalling Delphi 3 after un-installation
  396. of Delphi 2 or C++Builder.
  397.  
  398. The NetManage Internet Control Pack installed with Delphi is
  399. also shipped with other applications, including Visual Basic
  400. and PowerBuilder. These components may be unregistered in the
  401. process of un-installing another product. If this happens,
  402. reinstall Delphi.
  403.  
  404. After installing the C++Builder trial version, you may need
  405. to reset some alias information in the default IDAPI32.CFG.
  406. Specifically, the SERVER NAME for the IBLOCAL alias should point
  407. to C:\Program Files\Borland\Delphi 3\Demos\Data\EMPLOYEE.GDB.
  408. It's a good idea to back up your IDAPI32.CFG before installing
  409. C++Builder.
  410.  
  411. Integrated Development Environment and VCL
  412. ------------------------------------------
  413. TToolButton components don't resize properly when images
  414. in the TToolBar's ImageList property are modified. To work
  415. around this problem, remove images from the ImageList before
  416. modifying them; then replace them in the ImageList.
  417.  
  418. Due to a problem in Microsoft's COMCTL32.DLL, the Arrange method
  419. in TListView does not function. This makes it difficult to clean
  420. up the list's alignment when ViewStyle is vsIcon or vsSmallIcon,
  421. but otherwise does not affect the behavior of the component.
  422.  
  423. Use check boxes in TListView only when ViewStyle is set
  424. to vsList or vsReport.
  425.  
  426. The TLabel.ParentFont property is not used under
  427. Windows NT 4.0.
  428.  
  429. The fsStayOnTop setting for TForm.FormStyle does not function
  430. correctly when one fsStayOnTop form launches another. In this
  431. case, neither form will consistently remain on top.
  432.  
  433. Due to an operating-system bug, the TImageList.ResourceLoad
  434. method does not load Icon or Cursor files.
  435.  
  436. If you set TOpenDialog.AllowMultiSelect to True under
  437. Windows NT 4.0, a maximum of 20 files are returned. This
  438. bug is fixed in Service Pack 2 (available from Microsoft).
  439.  
  440. Database
  441. --------
  442. The BDE no longer supports DbiUseIdleTime. Use
  443. DbiSaveChanges instead.
  444.  
  445. Local SQL queries require a table qualifier or alias name
  446. if the field name is in quotation marks. Examples:
  447.  
  448.  (BAD)    select name AS "First Name" from customer
  449.   (OK)    select name AS customer."First Name" from customer
  450.   (OK)    select name AS c."First Name" from customer c
  451.  
  452. When you use cached updates, changes made to indexed table
  453. fields are not reflected until the updates are applied.
  454.  
  455. If you use cached updates with master/detail tables, TQuery will
  456. re-execute the detail query each time the master record moves.
  457.  
  458. The floating-point format required for custom constraints is
  459. inconsistent with international Windows settings. Always use
  460. periods (.) for decimals in custom constraints.
  461.  
  462. Access Driver
  463. -------------
  464. Some functionality is not yet implemented in this release. BCD
  465. (binary coded decimal) support is not available. Key-violation
  466. tables cannot be created with DbiAddIndex. (All other DbiAddIndex
  467. functionality is supported.) QBE, heterogeneous queries, and
  468. queries using the local SQL engine are not supported. In the
  469. SDK, DbiDoRestructure and DbiRegenIndex are not available.
  470.  
  471. The Access driver does not support DAO 3.5 (Access 97). If you
  472. upgrade Access 95 to Access 97, DAO 3.0 still resides on your
  473. machine, so the driver will function correctly. If you install
  474. Access 97 with no prior version of Access 95, the driver will
  475. not function.
  476.  
  477. Because DAO 3.0 (Access 95) is not thread-safe, all database
  478. functions must occur in the application's primary thread.
  479.  
  480. MS Access does not support opening a table that has
  481. already been opened exclusively. Hence opening a table
  482. when TTable.Exclusive is set to True prevents the user
  483. from opening that table again, even in same session.
  484.  
  485. Use a BLOB as a parameter in a query only if the BLOB data is
  486. less than 256 bytes.
  487.  
  488. When the Database Desktop copies an InterBase table to Access,
  489. the table and data are copied without indexes. If the table
  490. includes an index, you'll see an "invalid parameter" error.
  491. Use the Data Pump for this purpose instead.
  492.  
  493. When borrowing a structure from a Paradox table, the Database
  494. Desktop does not copy primary indexes to the resultant Access
  495. table. Use the Data Pump for this purpose instead.
  496.  
  497. AUTOINCREMENT fields do not update correctly when records
  498. are added to a table that has at least one other field with
  499. a default value.
  500.  
  501. QuickReports
  502. ------------
  503. Due to limitations in the conversion process, some complex
  504. reports from Delphi 2 may not load properly.
  505.  
  506. Dynamically Loaded Libraries
  507. ----------------------------
  508. Windows NT sometimes incorrectly unloads a library when another
  509. library that depends on it fails to load. This problem occurs
  510. only when libraries are loaded dynamically under the conditions
  511. described below. It affects Windows NT 3.51; Service Pack 2
  512. fixes the bug for Windows NT 4.0.
  513.  
  514. The problem arises when a dynamically loaded library uses two
  515. other libraries, each of which in turn uses another library.
  516. Suppose, for example, that an application uses five DLLs that
  517. are loaded dynamically in the following order: DLL1, DLL2, DLL3,
  518. DLL4, DLL5. Suppose that the following dependencies hold among
  519. the DLLs:
  520.  
  521.   DLL5 uses DLL4; DLL4 uses DLL3.
  522.   DLL5 uses DLL2; DLL2 uses DLL1.
  523.  
  524. Suppose the first three DLLs (DLL1-3) load successfully, but
  525. DLL4 calls an entry point in DLL3 that has been removed. In
  526. this case, DLL5 will naturally fail to load. If a second
  527. attempt is made to load the library, Windows will unload
  528. DLL1 and the application program may crash.
  529.  
  530. This problem can affect installation of packages within the
  531. Delphi IDE; it does not affect deployed applications, where
  532. packages are statically loaded. If you are using Delphi under
  533. Windows NT 3.51, the best way to avoid the problem is to make
  534. sure all required packages are updated before you recompile
  535. or install components.
  536.  
  537. ----------------------------------------------------------------
  538.  
  539.  Unless otherwise noted, all materials provided in this release
  540.  are Copyright 1983 - 1997 by Borland International.
  541.  
  542. ----------------------------- END ------------------------------
  543.